﻿using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CheatMenu.Patch;
using Fungus;
using CheatMenu.Managers;

namespace CheatMenu
{
    public static class CheatMenuPatcher
    {
        public static void PatchAll()
        {

            var harmony = new Harmony(CheatMenuPlugin.PluginName);
            try
            {
                RandomIntegerPatcher.Patch(harmony);
                InstantTextPatcher.Patch(harmony);
            }
            catch (Exception ex)
            {
                LogManager.LogError($"Exception during patching: {ex}");
            }
        }
    }
}
